import api from './index';

export const collectAPI=()=>{
    return api.get('/collect/summary')
}
export const collectPieAPI=()=>{
    return api.get('/collect/summary/pie')
}
export const collectLineAPI=()=>{
    return api.get('/collect/summary/line')
}
export const collectTableAPI=()=>{
    return api.get('/collect/summary/table')
}
export const collectDataExportAPI=()=>{
    return api.get('/collect/summary/export',{responseType: 'blob'})
}